<template>
    <oss-file v-bind:input-id="inputId"
              v-bind:text="text"
              v-bind:suffixs="suffixs"
              v-bind:use="use"
              v-bind:after-upload="afterUpload"
              v-bind:shard-size="shardSize"
              v-bind:url="url">
    </oss-file>
</template>

<script>
    import OssFile from "./oss-file";
    export default {
        components: {OssFile},
        name: 'vod',
        props: {
            text: {
                default: "上传videoOnDemand"
            },
            inputId: {
                default: "vod-upload"
            },
            suffixs: {
                default: []
            },
            use: {
                default: ""
            },
            shardSize: {
                default: 5000 * 1024 * 1024
            },
            url: {
                default: "vod"
            },
            afterUpload: {
                type: Function,
                default: null
            },
        },
        methods: {
        }
    }
</script>